

def topic_level():
    from src.backend.beanfactory import BeanFactory
    return BeanFactory.getCursor().query('select name from topic_level')

def topic_category():
    from src.backend.beanfactory import BeanFactory
    return BeanFactory.getCursor().query('select name from type')